<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>边框线和内边距</title>
    <style>
        div {
            /* 内边距设置与边框线一致 */
            width: 200px;
            height: 200px;
            background-color: yellow;
            border-top: 1px solid #000;
            border-left: 2px dashed red;
            border-right: 3px dashed rebeccapurple;
            border-bottom: 4px dotted pink;
        }
    </style>
</head>
<body>
    <div>
        边框线方向
    </div>
</body>
</html>